package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 通知公告与接收人员关系Entity类
 *
 * @author niuyanling
 * @date 2021/07/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "iml_announcement_receiver_relationship")
public class AnnouncementReceiverRelationshipEntity extends BasicFieldEntity implements Serializable {
    /**
     * 通知公告Id
     */
    private Long announcementId;

    /**
     * 接收人Id
     */
    private Long receiverId;

    /**
     * 查看时间
     */
    private LocalDateTime readTime;
}
